package org.lewis.common.domain;

import java.util.Date;

public class VCode extends BaseEntity{

	private static final long serialVersionUID = 1L;

	private String code;
	
	private String type;
	
	private Long uid;
	
	private Date createTime;
	
	public VCode(){
		this.createTime=new Date();
	}
	

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Long getUid() {
		return uid;
	}

	public void setUid(Long uid) {
		this.uid = uid;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	public enum TYPE{
		EMAILACT,FINDPWD,AUTOLOGIN
	}
	

}
